package com.morningstar.system.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.morningstar.common.dao.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;

/**
 * 岗位表 sys_post
 *
 * @author ruoyi
 */
@Getter
@Setter
@TableName("sys_post")
public class SysPost extends BaseEntity {
    /**
     * 职位Id
     */
    @TableId(value = "post_id", type = IdType.ASSIGN_ID)
    private Long postId;

    /**
     * 职位编码
     */
    @TableField(value = "post_code")
    private String postCode;

    /**
     * 职位名称
     */
    @TableField(value = "post_name")
    private String postName;

    /**
     * 职位排序
     */
    @TableField(value = "post_sort")
    private Integer postSort;

    /**
     * 职位状态
     */
    @TableField(value = "status")
    private String status;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;
}
